//相关信息公用样式
.wea-workrelate-relate-info{
  width: 100%;  
  .relate-info-top{
      width: 100%;
      height: 30px;
      background: #F9F8F7;
      border: 1px  solid #DADADA;
      border-bottom: 0;
      .relate-info-all{
          width: 90%;
          margin-left: 2%;
          white-space: nowrap;
          .relate-info-link{
            //   float: left;
              margin: 5px;
              width: 13%;
              text-align: center;
              display: inline-block;
              .wea-upload {
                  padding-top: 0;
                  cursor: pointer;
                  display: inline-block;
              }
              .wea-required-e9{
                  display: none;
              }
              .relate-info-link-span{
                  margin-left: 5px;
              }
          }
      }
      
  }
  .relate-info-content{
      width: 100%;
      border: 1px  solid #DADADA;
      min-height: 100px;
      padding: 5px 20px;
      .relate-info-type{
        margin-top: 5px;
        position: relative;
      }
      .relate-ishidden{
          display: none;
      }
      .relate-info-type-div{
        display: inline-block;
        position: absolute;
        top: 5px;
      }
      .wea-workrelate-newlinkeds{
          margin-left: 20px;
          display: inline-block;
          .wea-workrelate-link-item-a{
              color: #4D7AD8;
          }
      }
  }
}
//antd table组件
.wea-workrelate-antd-table {
    margin: 0 10px;
    .ant-table-fixed{
        table-layout:fixed;
    }
    .ant-table-pagination{
        margin-right: 60px;
    }
    .ant-table-tbody>tr>td, .ant-table-thead>tr>th,.ant-table-placeholder{
        padding: 8px 8px;
    }
    .ant-table-tbody>tr>td{
        word-break: break-all;
    }
    .ant-table-thead th .text-elli{
        white-space: normal;
        word-break: break-all;
    }
    .ant-table-tbody a{
        color: black;
    }
    .ant-table-tbody a:hover{
       color: #2db7f5;
    }
    .ant-table-header{
        background-color: #f7fbfe;
    }
    .ant-table-thead>tr>th{
        border-bottom: 1px solid #e2ecf2;
        background-color: #f7fbfe;
        border-bottom-width: 2px;
    }
    .wea-workrelate-table-inlineblock{
        display: inline-block;
    }
    .wea-workrelate-table-i{
        position:relative;
        z-index:3;
        color:#2196E5;
    }
    .wea-workrelate-table-mleft{
        margin-left: 5px;
        display: inline-block;
    }
    .noWrap{
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        vertical-align: middle;
        max-width: 95%;
        display: inline-block;
    }
    .operates-cur{
        cursor: pointer;
    }
}
//未读数
.wea-workrelate-perform-menu{
    .workrelate-unread{
        float: right;
    }
}
.wea-workrelate-task-menu{
    .workrelate-unread{
        float: right;
        color: red;
    }
}
//报告未读数
.wea-workrelate-plan-menu{
    .workrelate-unread{
        float: right;
    }
}
//菜单公共样式
.wea-workrelate-common-menu{
    //border: 1px solid #eaeaea;
    height: 100%;
    // .ant-menu-inline>.ant-menu-item{
    //     line-height: 30px;
    //     height: 30px;
    // }
    .ant-menu-item-selected{
        background-color: #def0ff;
    }
    .common-menu-title{
        margin-top: 5px;
    }
    .common-menu-subtitle{
        background-color: #efefef;
        padding: 5px 16px 5px 24px;
        margin-top: 10px;
    }

    .ant-menu-submenu-inline{
        .ant-menu-submenu-title{
            line-height: 30px;
            height: 30px;
        }
    }
}

.wea-workrelate-common-top{
    .wea-workrelate-taskedit-title-wrapper {
        display: inline-flex;
        width: 100%;
        flex-direction: column;
        .wea-workrelate-taskedit-title{
            display: inline-block;
            width: 100%;
            .wea-workrelate-taskedit-title-text {
                display: inline-block;
                max-width: 50%;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                padding-right: 10px;
                vertical-align: middle;
                position: relative;
            }
            .wea-workrelate-taskedit-title-icons-wrapper {
                display: inline-block;
                //width: 25px;
                position: relative;
                vertical-align: middle;
                .wea-workrelate-taskedit-title-icon-wrapper {
                    i {
                        margin-right: 10px;
                        cursor: pointer;
                        font-size: 15px;
                        position: relative;
                        top: 1px;
                    }
                }
            }
            .wea-workrelate-taskedit-title-tags-wrapper {
                display: inline-block;
                width: auto;
                //height: 100%;
                position: relative;
                vertical-align: middle;
                .wea-workrelate-taskedit-title-tags-wrapper-abs {
                    position: relative;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    display: inline-block;
                    overflow: visible;
                    &>i {
                        position: relative;
                        top: 2px;
                        font-size: 13px;
                    }
                    .wea-tag {
                        position: relative;
                        margin-right: 5px;
                        .ant-tag-text {
                            position: relative;
                            top: -2px;
                            display: inline-block;
                            max-width: 80px;
                            vertical-align: middle;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            white-space: nowrap;
                        }
                        &>i {
                            display: inline-block;
                            vertical-align: middle;
                        }
                    }
                }
            }
        }
        .wea-workrelate-task-createinfo-wrapper {
            width: 100%;
            min-height: 30px;
            position: relative;
            padding-top: 4px;
            display: inline-flex;
            flex-direction: row;
            align-content: flex-start;
            align-items: flex-start;
            justify-content: flex-start;
            .wea-workrelate-task-createinfo{
                font-style: italic;
                font-size: 12px;
                line-height: 12px;
                color: rgb(178, 178, 178);
            }
            .wea-workrelate-task-createinfo a{
                font-size: 12px  !important;
                cursor: pointer !important;
                color: rgb(178, 178, 178) !important;
            }
        }
    }
    .wea-new-top-wapper {
        .ant-col-10{
            top:35px !important;
        }
        .ant-col-14{
            width: 100% !important;
        }
    }

    .wea-new-top-title>span:first-child{
        float: left;
    }

}
//共享
.wea-workrelate-share{
    .share-title-div{
        padding: 0 20px 5px 12px;
        position: relative;
        float: right;
        .share-title-div-button{
            position: relative;
        }
        .share-button{
            border: 0;
            font-size: 20px;
            line-height: 20px;
            color: #55a1f8;
            padding: 5px 10px 0 0;
            background-color: white;
            z-index: 99;
        }
        .share-button[disabled]{
            color: #d8d8d8;
        }
        .tag-color{
            padding: 5px 10px;
            border-radius: 20px;
            width: 15px;
            height: 15px;
            border: 1px solid #eee;
            display: inline-block;
        }
    }
    .share-title-div1{
        padding: 8PX 20px 0px 0px;
        position: absolute;
        display: inline-block;
        right:0PX;
        .share-title-div-button{
            position: relative;
        }
        .share-button{
            border: 0;
            font-size: 20px;
            line-height: 20px;
            color: #55a1f8;
            padding: 5px 10px 0 0;
            background-color: white;
            z-index: 99;
        }
        .share-button[disabled]{
            color: #d8d8d8;
        }
        .tag-color{
            padding: 5px 10px;
            border-radius: 20px;
            width: 15px;
            height: 15px;
            border: 1px solid #eee;
            display: inline-block;
        }
    }
    .wea-table-editable-btns {
        position: relative;
        top: 4px;
    }
    table {
        thead {
            tr {
                th:nth-child(2) {
                    width: 52px;
                }
            }
        }
    }
}
//富文本编辑器序号样式重写
.wea-workrelate-remark-number{
    ul{
        list-style-type: disc;
    }
    ol{
        list-style-type: decimal;
    }
}
.workrelate-task-main-table {
    .colomn-taskname-wrapper {
        .task-text {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .task-tag {
            width: 100%;
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: flex-start;
            position: relative;
            .tag-item-wrapper {
                display: inline-block;
                padding: 3px 0;
                .wea-tag {
                    .ant-tag-text {
                        display: inline-block;
                        max-width: 100px;
                        position: relative;
                        vertical-align: middle;
                        top: -2px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        white-space: nowrap;
                    }
                    &>i {
                        vertical-align: middle;
                    }
                }
            }
        }
    }
}